package com.juc.nonBlockingQueue.nonBblockingQueue9;



public class Test {

	public static void main(String[] args) throws InterruptedException {
		MyService service = new MyService();
		ThreadA a =new ThreadA(service);
		ThreadB b =new ThreadB(service);
		a.start();
		b.start();
		a.join();
		b.join();
		System.out.println(service.queue.size());
	}
}
